<body>
<div class="bgk">
<div class="bgk-image" 
style="background-image: 
url('${pageContext.request.contextPath}/img/1.jpg')">
</div>
<div class="bgk-image" 
style="background-image: 
ur('${pageContext.request.contextPath}/img/2.jpg')">
</div>
<div class="bgk-image" 
style="background-image: 
url('${pageContext.request.contextPath}/img/3.jpg')">
</div>
<div class="bgk-image" 
style="background-image: 
url('${pageContext.request.contextPath}/img/4.jpg')">
</div>
</body>
.bgk {
margin: auto;
position: absolute;
width: 1366px;
height: 672px;
overflow: hidden;   /*溢出部分隐藏*/
}`